package com.sd.sdk.client;

import com.google.gson.Gson;

class JsonUtil {
    private static final Gson GSON = new Gson();


    static String toJson(Object json) {
        return GSON.toJson(json);
    }


    static <T> T toObject(String json, Class<T> clazz) {
        return GSON.fromJson(json, clazz);
    }
}
